import pymongo
conn = pymongo.Connection('localhost')
print conn
print conn.database_names()
db = conn.local
print db.collection_names()
print db.find_one()

